@layout("/common/_container.html"){
<style>.checkboxStyle{display:inline-block;width:15px;height:15px;background:#DCDCDC;border:1px solid #535353;border-radius:5px;vertical-align:middle}.checkboxClass{opacity:0;cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);}.labelStyle{font-weight:500;margin-left:10px;cursor:pointer;vertical-align: middle;margin-bottom: 0;}#checkboxBox > div{padding:0;}.selection{background:#289bd6;}.btnBox{background:#f1f1f1;position:fixed;bottom:0;width:100%;padding:5px 0;text-align:center;}.btnBox>button{margin:0;color:white;background:#6090b8;padding: 5px 14px;}.btnBox>button:last-of-type{background:white;color:inherit;border:1px solid #999999}</style>
<div class="ibox float-e-margins">
    <div style="display: none">
        <input type="hidden" id="customerId" value="${customerId}">
        <input type="hidden" id="customerPhone" value="${customerInfo.customerPhone}">
        <input type="hidden" id="customerPhone2" value="${customerInfo.customerPhone2}">
    </div>
    <div>
        <div style="background: #6090b8;color: white;padding: 5px 10px;">添加电话</div>
        <h5 style="color: #30add1;padding-left: 10px;">请选择手机号：</h5>
        <div id="customerPhoneBox" style="display: flex;flex-flow: wrap;padding-left: 15px;"></div>
        <div style="padding: 10px;">
            添加号码：<input type="text" oninput = "value=value.replace(/[^\d]/g,'')" id="customerPhone3" maxlength="11" />
            <button class="btn" type="button" onclick="addPhone()" style="padding: 0;height: 28px;vertical-align: top;width: 55px;background: #6090b8;color: white">添加</button>
        </div>
        <h6 style="color: #FFB366;padding-left: 10px;">温馨提示：主叫号码显示在列表，其余号码仅显示于个人信息</h6>
        <div class="btnBox">
            <button class="btn" type="button" onclick="setZphone()">设为主号</button>
            <button class="btn" type="button" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name))">取消</button>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/arrival/customer/update_phone.js?v=20200718"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/fulljquery-ui.min.js?v=20200718"></script>
<script src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/jsMedium.js?v=20200718"></script>
@}